#pragma once
#include "Character.h"
#include "Sprite.h"
#include "Utils.h"
#include "GlobalVariables.h"

#define MAX_ENEMY_WHITE 300
class CEnemy_White
{
protected:
	CSprite *_EnemyWhite[MAX_ENEMY_WHITE];
	D3DXVECTOR2 _ContraPosition;
	D3DXVECTOR2 _EnemyVector[MAX_ENEMY_WHITE];
	DWORD frame_start_white;
	DWORD tick_per_frame;

	int count_enemy; // to set position enemy white
	int mark;

	D3DXVECTOR2 _EnemyWhitePosition;

public:
	CEnemy_White();

	void LoadResource(LPDIRECT3DDEVICE9 d3ddv, LPD3DXSPRITE &SpriteHandler, HINSTANCE hInstance, HWND hWnd);
	void Update(D3DXVECTOR2 ContraPositon);
	void Render(D3DXVECTOR2 ContraPositon);

	~CEnemy_White();
};

